<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Zero - Loading Page</title>
  <style>
    /* 全局样式 */
    body, html {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Arial', sans-serif;
      background: linear-gradient(135deg, #1a1a1a, #333333);
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

    /* 容器样式 */
    .container {
      text-align: center;
    }

    /* 标题样式 */
    h1 {
      font-size: 3rem;
      margin-bottom: 20px;
      animation: fadeIn 2s ease-in-out;
    }

    /* 加载动画 */
    .loader {
      display: inline-block;
      position: relative;
      width: 80px;
      height: 80px;
    }

    .loader div {
      position: absolute;
      width: 16px;
      height: 16px;
      background: #00ff88;
      border-radius: 50%;
      animation: loader 1.2s linear infinite;
    }

    .loader div:nth-child(1) {
      top: 8px;
      left: 8px;
      animation-delay: 0s;
    }

    .loader div:nth-child(2) {
      top: 8px;
      left: 32px;
      animation-delay: -0.4s;
    }

    .loader div:nth-child(3) {
      top: 8px;
      left: 56px;
      animation-delay: -0.8s;
    }

    .loader div:nth-child(4) {
      top: 32px;
      left: 8px;
      animation-delay: -0.4s;
    }

    .loader div:nth-child(5) {
      top: 32px;
      left: 32px;
      animation-delay: -0.8s;
    }

    .loader div:nth-child(6) {
      top: 32px;
      left: 56px;
      animation-delay: -1.2s;
    }

    .loader div:nth-child(7) {
      top: 56px;
      left: 8px;
      animation-delay: -0.8s;
    }

    .loader div:nth-child(8) {
      top: 56px;
      left: 32px;
      animation-delay: -1.2s;
    }

    .loader div:nth-child(9) {
      top: 56px;
      left: 56px;
      animation-delay: -1.6s;
    }

    /* 加载动画关键帧 */
    @keyframes loader {
      0%, 100% {
        transform: scale(1);
        opacity: 1;
      }
      50% {
        transform: scale(0.5);
        opacity: 0.5;
      }
    }

    /* 文字渐入动画 */
    @keyframes fadeIn {
      0% {
        opacity: 0;
        transform: translateY(-20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* 进度条样式 */
    .progress-bar {
      width: 200px;
      height: 8px;
      background: #444;
      border-radius: 4px;
      margin: 20px auto;
      overflow: hidden;
    }

    .progress-bar-inner {
      height: 100%;
      width: 0;
      background: #00ff88;
      border-radius: 4px;
      animation: progress 3s ease-in-out forwards;
    }

    /* 进度条动画 */
    @keyframes progress {
      0% {
        width: 0;
      }
      100% {
        width: 100%;
      }
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>Zero</h1>
    <div class="loader">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
    <div class="progress-bar">
      <div class="progress-bar-inner"></div>
    </div>
  </div>

  <script>
    // 模拟加载完成后跳转页面
    // setTimeout(() => {
    //   // window.location.href = "https://example.com"; // 替换为目标页面
    // }, 3000); // 3秒后跳转
  </script>
</body>
</html>